/*
 * @Author       :
 * @Date         : 2021-12-19 22:59:47
 * @LastEditors  :
 * @LastEditTime : 2022-02-08 22:19:44
 * @Description  : 请填写简介
 */
import { createApp } from 'vue'
import App from './App.vue'
import router from '@/router'
import installElementPlus from './plugins/element'
import i18n from '@/i18n'
import store from './store'

// 初始化样式表
import '@/styles/index.scss'

// 图标导入
import installIcons from '@/icons'

// 导入路由鉴权
import './permission.js'

const app = createApp(App)
installElementPlus(app)
installIcons(app)
app
  .use(store)
  .use(i18n)
  .use(router)
  .mount('#app')
